<?php
/**
 * SleekPHP 0.1
 *
 * A Lightweight, Open Source and Modular
 * PHP Web Development Framework Built on the MVC Pattern
 *
 * SleekPHP is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * SleekPHP is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * @author Andreas Lagerkvist <powerbuoy@gmail.com>
 * @copyright Copyright (c) 2010-2011 Andreas Lagerkvist
 * @license http://opensource.org/licenses/gpl-license.php GNU Public License
 * @version 0.1
 */
# Some config
define('DEBUG',			false);	# Show debug information (only for dev!!)
define('MOD_REWRITE',	true);	# Whether you use mod_rewrite or not

# Run SleekPHP
include 'Core/SleekPHP.php';

# First argument: Site you want to run, second argument: URL you want to run (ie /about/)
echo SleekPHP::run('MySite', (isset($_SERVER['PATH_INFO']) ? $_SERVER['PATH_INFO'] : '/'));
